﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace JNPF.Basics.Models
{
    /// <summary>
    /// 收入确认分析表
    /// 版 本：V2.6.200612
    /// 版 权：引迈信息技术有限公司（https://www.jnpfsoft.com）
    /// 作 者：JNPF开发平台组
    /// 日 期：2018-07-16 
    /// </summary>
    [Table("WFORM_INCOMERECOGNITION")]
    public class IncomeRecognitionEntity
    {
        /// <summary>
        /// 自然主键
        /// </summary>
        [Key]
        [Column("F_ID")]
        public string Id { get; set; }
        /// <summary>
        /// 流程主题
        /// </summary>
        [Column("F_FLOWID")]
        public string FlowId { get; set; }
        /// <summary>
        /// 流程标题
        /// </summary>
        [Column("F_FLOWTITLE")]
        public string FlowTitle { get; set; }
        /// <summary>
        /// 紧急程度
        /// </summary>
        [Column("F_FLOWURGENT")]
        public int? FlowUrgent { get; set; }
        /// <summary>
        /// 流程单据
        /// </summary>
        [Column("F_BILLNO")]
        public string BillNo { get; set; }
        /// <summary>
        /// 结算月份
        /// </summary>
        [Column("F_SETTLEMENTMONTH")]
        public string SettlementMonth { get; set; }
        /// <summary>
        /// 客户名称
        /// </summary>
        [Column("F_CUSTOMERNAME")]
        public string CustomerName { get; set; }
        /// <summary>
        /// 合同编码
        /// </summary>
        [Column("F_CONTRACTNUM")]
        public string ContractNum { get; set; }
        /// <summary>
        /// 合同金额
        /// </summary>
        [Column("F_TOTALAMOUNT")]
        public decimal? TotalAmount { get; set; }
        /// <summary>
        /// 到款银行
        /// </summary>
        [Column("F_MONEYBANK")]
        public string MoneyBank { get; set; }
        /// <summary>
        /// 到款金额
        /// </summary>
        [Column("F_ACTUALAMOUNT")]
        public decimal? ActualAmount { get; set; }
        /// <summary>
        /// 到款日期
        /// </summary>
        [Column("F_PAYMENTDATE")]
        public DateTime? PaymentDate { get; set; }
        /// <summary>
        /// 联系人姓名
        /// </summary>
        [Column("F_CONTACTNAME")]
        public string ContactName { get; set; }
        /// <summary>
        /// 联系电话
        /// </summary>
        [Column("F_CONTACPHONE")]
        public string ContacPhone { get; set; }
        /// <summary>
        /// 联系QQ
        /// </summary>
        [Column("F_CONTACTQQ")]
        public string ContactQQ { get; set; }
        /// <summary>
        /// 未付金额
        /// </summary>
        [Column("F_UNPAIDAMOUNT")]
        public decimal? UnpaidAmount { get; set; }
        /// <summary>
        /// 已付金额
        /// </summary>
        [Column("F_AMOUNTPAID")]
        public decimal? AmountPaid { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        [Column("F_DESCRIPTION")]
        public string Description { get; set; }
    }
}
